<?php

namespace App\Http\Controllers\Web\Portal;

use App\Http\Controllers\Web\Portal\Controller;
use App\Core\Utils\TwHelper\Environment;

class IndexController extends Controller
{

    /**
     * 门户聚合首页
     */
    public function index()
    {
        if(Environment::isMobile()){
            return view('index-mobile');
        }
        return view('index');
    }

}